﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using XRpgLibrary.SpriteClasses;
using XRpgLibrary.TileEngine;
using XRpgLibrary.ScriptClasses;

using RpgLibrary.CharacterClasses;
using RpgLibrary.ConversationClasses;
using RpgLibrary.QuestClasses;

using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Content;

namespace XRpgLibrary.CharacterClasses
{
    public class NonPlayerCharacter : Character, IGameDrawable, IGameUpdateable
    {
        #region Field Region
        
        //readonly List<Conversation> conversations;
        readonly List<Quest> quests;

        //protected SpriteBatch spriteBatch;
        #endregion
        
        #region Property Region
        
        //public List<Conversation> Conversations
        //{
        //    get { return conversations; }
        //}
        
        public List<Quest> Quests
        {
            get { return quests; }
        }
        
        //public bool HasConversation
        //{
        //    get { return (conversations.Count > 0); }
        //}
        
        public bool HasQuest
        {
            get { return (quests.Count > 0); }
        }
        
        #endregion
        
        #region Constructor Region
        
        public NonPlayerCharacter(
            Character character, 
            ContentManager contentManager, 
            SpriteBatch spriteBatch, 
            ScriptContext scriptContext)
            : base(character, contentManager, spriteBatch, scriptContext)
        {
          //conversations = new List<Conversation>();
            quests = new List<Quest>();
        }

        #endregion
        
        #region Method Region
        #endregion
        
        #region Virtual Method region
        
        public override void Update(GameTime gameTime)
        {
            base.Update(gameTime);
        }

        public void Draw(GameTime gameTime, Camera camera)
        {
            Draw(gameTime);
        }
        
        public override void Draw(GameTime gameTime)
        {
            base.Draw(gameTime);
        }
        
        #endregion
    }
}